import { Component, Input, OnInit, Output, EventEmitter, ViewChild } from '@angular/core';

@Component({
  selector: 'hym-nav',
  styleUrls: ['./nav.component.css'],
  templateUrl: './nav.component.html',
})
export class NavComponent implements OnInit {
  public isNav: boolean = false;
  constructor(
  ) { }

  ngOnInit() {
  }

  public showNav() {
    if (this.isNav == true) {
      this.isNav = false;
    } else {
      this.isNav = true;
    }
  }

  public hideNav() {
    this.isNav = false;
  }


}
